package com.example.petshopping.model;

import java.util.List;

/**
 * 分页结果
 */
public class PageResult<T> {
    private List<T> list;
    private Long total;
    
    public PageResult() {}
    
    public PageResult(List<T> list, Long total) {
        this.list = list;
        this.total = total;
    }
    
    public List<T> getList() {
        return list;
    }
    
    public void setList(List<T> list) {
        this.list = list;
    }
    
    public Long getTotal() {
        return total;
    }
    
    public void setTotal(Long total) {
        this.total = total;
    }
} 